package com.chexiehui.jc.entity;

import com.chexiehui.jc.widget.indexbar.bean.BaseIndexPinyinBean;

import java.io.Serializable;

public class BrandInfo extends BaseIndexPinyinBean implements Serializable {
    private String Id;// (string, optional): id ,
    private String Name;// (string, optional): 名称 ,
    private String Img;// (string, optional): 图片

    private String Spell;

    public String getId() {
        return Id == null ? "" : Id;
    }

    public void setId(String id) {
        Id = id;
    }

    public String getName() {
        return Name == null ? "" : Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public String getImg() {
        return Img == null ? "" : Img;
    }

    public void setImg(String img) {
        Img = img;
    }

    @Override
    public String getTarget() {
        return getSpell() == null ? getName() : getSpell();
    }

    public String getSpell() {
        return Spell;
    }

    public void setSpell(String spell) {
        Spell = spell;
    }
}
